﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace project4
{
    /// <summary>
    /// Observer--抽象观察者接口
    /// </summary>
    public interface Updated
    {
        /// <summary>
        /// 观察者接收/处理通知的方法
        /// </summary>
        /// <param name="val">帐户余额</param>
        void BalanceUpdated(User user);
    }
}
